import hashlib
import time
now = round(time.time())
print (now)  #获取计算机时间
hashObj=hashlib.md5()
hashObj.update(str(int(now)).encode("utf-8"))
i=hashObj.hexdigest().upper()
e = hex(int(now)).upper()[2:]
print(i)
print(i[:5])
print(e)
print(hex(int(now)).upper())